/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ecomp.uefs.micc.sharedbox.controller;

import java.util.ArrayList;

/**
 *
 * @author emanuel
 */
public abstract class DefaultDAO<MODEL> {
    
    protected ArrayList<MODEL> list = new ArrayList<MODEL>();
    
    protected DefaultDAO(){
        
    }
    
    public void add(MODEL entidad){
        
        list.add(entidad);
    }
    
    public void remove(MODEL entidad){
        
        list.remove(entidad);
    }
    
}
